import java.util.Scanner;

public class Homework7 {
    public static void main(String[]args){
        Scanner a=new Scanner(System.in);
        System.out.println("输入基本工资工龄工资");
        double b=a.nextInt();
        double c=a.nextInt();
        double d=b*0.103;
        double e=c*100;
        double f=b*0.045;
        double g=b+d+e+f;
        int h;
        h=(int)g;
        System.out.println(+h);
        if (b+d+e+f>=5000){
            System.out.println(" 你是高薪");
        }else {
            System.out.println(" 你不是高薪");
        }
    }
}
